@nav-height: 68px;
@left-width: 230px;
@right-width: 240px;
@main-color: #43a1f4;

#wrapper{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.graph-editor{
  position: absolute;
  top: @nav-height;
  left: 0;
  right: 0;
  bottom: 0;

  &.left{
    left: @left-width
  }
  &.right{
    right: @right-width
  }
}

#toolbar {
  position:absolute;
  left:0px;
  top:0px;
  width:100%;

  .btn-group {
    margin-right: 5px;
  }

  .btn{
    border-color: #d2d2d2 !important;
    border-width: 1px !important;
    margin-right: 5px !important;
    background-color: #f6f6f6 !important;
  }
  .btn:hover, .btn:active, .btn.active{
    background-color: #e2e2e2 !important;
    border-color: #adadad !important;
  }

  .form-control{
    height: 40px;
  }
}

#protobar{
  position: absolute;
  box-sizing: border-box;
  top: @nav-height;
  left: 0px;
  width: 230px;
  bottom: 0;
  background-color: #fff;
  box-shadow: 0px 5px 5px #888;
  
  .card{
    border-radius: 0;
  }

  .card-header{
    padding: 0;
    text-align: center;
    a{
      display: block;
      padding: 0.8rem 1.5rem;
      color: #fff;
      background: @main-color;
    }

    .rotate-icon{
      float: right;
      margin-top: 4px;
      transition: all 0.2s;
    }

    a:not(.collapsed) .rotate-icon {
      transform: rotate(0);
    }

    a.collapsed .rotate-icon {
      transform: rotate(-90deg);
    }
  }

  .group-items {
    padding-bottom: 10px;
    overflow-y: auto;
    text-align: center;
  }

  .group-item {
    display: inline-block;
    width: 80px;
    margin: 6px;
    height: 100px;
    text-align: center;

    .icon{
      width: 80px;
      height: 80px;
    }
    img{
      max-width: 100%;
      max-height: 100%;
    }

  }
}


#propbar{
  position: absolute;
  box-sizing: border-box;
  top: @nav-height;
  right: 0px;
  width: 240px;
  bottom: 0;
  background-color: #fff;
  box-shadow: 0px 5px 5px #888;
  overflow-y: auto;
  overflow-x: hidden;
  border-top: solid 1px #ccc;

  .nav-tabs{
    padding-top: 5px;
    margin-bottom: 15px;
    background: @main-color;

    .nav-link{
      border-color: transparent !important;
      font-weight: bold;

      color: #fff;
      &.active{
        color: @main-color;
      }

      &:hover:not(.active){
        background: @main-color - #111;
        position: relative;
        top: -1px;
      }
    }
  }

  .class-group{
    padding: 15px;
  }

  .font-small{
    font-size: 12px;
    font-weight: bold;
    text-align: right;
    line-height: 23px;
    padding-right: 0;
  }
}

/*icons*/
.q-icon {
  background-image: url(../img/icons-32.png?v=2.6);
  background-size: 479px 16px;
  margin: 0 4px;
}
.toolbar-add {
  background-position: 0px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-default {
  background-position: -18px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-download {
  background-position: -37px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-edge_VH {
  background-position: -55px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-edge {
  background-position: -74px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-expand {
  background-position: -92px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-json {
  background-position: -111px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-line {
  background-position: -129px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-magnifying_glass {
  background-position: -148px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-max {
  background-position: -166px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-new_window {
  background-position: -185px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-new {
  background-position: -203px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-overview {
  background-position: -222px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-pan {
  background-position: -240px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-polygon {
  background-position: -259px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-print {
  background-position: -277px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-rectangle_selection {
  background-position: -296px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-remove {
  background-position: -314px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-save {
  background-position: -333px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-search {
  background-position: -351px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-update {
  background-position: -370px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-upload {
  background-position: -388px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-zoom_overview {
  background-position: -407px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-zoomin {
  background-position: -425px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-zoomout {
  background-position: -444px 0px;
  width: 16px;
  height: 16px;
}
.toolbar-zoomreset {
  background-position: -462px 0px;
  width: 16px;
  height: 16px;
}
